/*
 * @Author: toString
 * @Date: 2023-12-08 16:18:40
 * @LastEditTime: 2024-05-23 22:16:54
 * @LastEditors: toString muzi_li0323@163.com
 * @Description:
 * @FilePath: \lianghua-uniapp\src\stores\index.ts
 */
import { createPinia } from 'pinia'
import piniaPluginPersist from 'pinia-plugin-persist'
// 创建 pinia 实例
const pinia = createPinia()
// 使用持久化存储插件
pinia.use(piniaPluginPersist)

// 默认导出，给 main.ts 使用
export default pinia

export * from './modules/user.js'
